<?php
@error_reporting(E_ALL ^ E_NOTICE);
$hostname_your_connection = "127.0.0.1:8889";
$database_your_connection = "yumadb";
$username_your_connection = "root";
$password_your_connection = "root";
$your_connection = @mysql_connect($hostname_your_connection, $username_your_connection, $password_your_connection) or die("<br><p align=center>Veritabanı ile bağlantı kurulmadı. </p>");
@mysql_select_db($database_your_connection) or die("<br><p align=center>Veritabanında problem bulunkata.</p>");
mysql_query("SET NAMES utf8");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION='utf8_ci'");
?>